package com.rtx.job.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * EDI SQL
 */
@ApiModel(value = "EDI任务SQL配置对象", description = "EDI任务SQL配置表")
@Data
public class EdiSqlDto {
    @ApiModelProperty(value = "id",position = 1)
    private Long id;//id
    @ApiModelProperty(value = "任务id",position = 2)
    private Long ediJobConfigId;//任务配置id
    @ApiModelProperty(value = "任务描述",position = 3)
    private String ediJobConfigDescr;//任务描述
    @ApiModelProperty(value = "类型",position = 4)
    private String type;//类型（1-查询，2-更新）
    @ApiModelProperty(value = "sql语句描述",position = 5)
    private String sqlDescr;//sql语句描述
    @ApiModelProperty(value = "sql语句",position = 6)
    private String sql;//sql语句
    @ApiModelProperty(value = "节点名",position = 7)
    private String nodeName;//节点名
    @ApiModelProperty(value = "父节点",position = 8)
    private Long parentId;//父节点（上级父节点id，如果没有父节点则为本身id）
    @ApiModelProperty(value = "条件",position = 9)
    private String condition;//条件 {"orderkey":"orderkey"}
    @ApiModelProperty(value = "页面编号",position = 10)
    private Integer pageNum = 1;
    @ApiModelProperty(value = "页面大小",position = 11)
    private Integer pageSize = 20;
}
